home *** CD-ROM | disk | FTP | other *** search
- Path: svnews.ubinet.ubs.com!ubszh!ian.johnston@ubs.com
- From: ian.johnston@ubs.com (Ian Johnston (by ubsswop))
- Newsgroups: comp.lang.java,comp.lang.c++
- Subject: Re: Will Java kill C++?
- Date: 16 Apr 1996 07:53:33 GMT
- Organization: UBS
- Distribution: world
- Message-ID: <4kvjlt$ue@ubszh.fh.zh.ubs.com>
- References: <4kn3c4$1ggc@piglet.cc.uic.edu> <DpvsE5.2HC@research.att.com> <4ksfdr$bhh@engnews2.Eng.Sun.COM> <3172DC7C.6B3F@sdt.com> <4ku4lk$lg6@engnews2.Eng.Sun.COM>
- NNTP-Posting-Host: nol2179.fh.zh.ubs.com
-
- In article <4ku4lk$lg6@engnews2.Eng.Sun.COM>, linden@positive.Sun.COM (Peter van der Linden) writes:
- |> >How would you have maintained C-style linkage and C++ typesafe
- |> >linkage in the same object module without changing the linker?
- |>
- |> By writing a linker pre-pass program which checks for and enforces
- |> the type-safe linking rules.
-
- Yep, this is the obvious answer, but not terribly practical when trying
- to get a system up and running on multiple platforms.
-
- If only Sun would write a linker pre-pass for templates, we could dump
- the template repository junk which makes linking with C++ libraries using
- templates nigh on impossible.
-
- And Sun would only have to do it for one platform.
-
- The PC compilers do this *so* much better.
-
- Ian
-
-